package com.by.service.common;

import com.baomidou.mybatisplus.extension.service.IService;
import com.by.entity.common.Category;

import java.util.List;

public interface CategoryService extends IService<Category> {

    /**
     * 根据父id查询所有子类
     * @param pid
     * @return
     */
    List queryCategoryTree(String pid);
}
